﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sc.Domain
{
    /// <summary>
    /// DriverCertificate:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class DriverCertificate
    {
        #region Model
        private int _id;
        private int _driver;
        private int _baseitemid;
        private string _certificatecode;
        private decimal _score;
        private DateTime _starttime;
        private int _usefullife;
        private int _state;
        private DateTime _createtime = DateTime.Now;
        private int _userno;
        private int _orgzno;
        /// <summary>
        /// 
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 司机
        /// </summary>
        public int Driver
        {
            set { _driver = value; }
            get { return _driver; }
        }
        /// <summary>
        /// 证件类型
        /// </summary>
        public int BaseItemId
        {
            set { _baseitemid = value; }
            get { return _baseitemid; }
        }
        /// <summary>
        /// 证件编号
        /// </summary>
        public string CertificateCode
        {
            set { _certificatecode = value; }
            get { return _certificatecode; }
        }
        /// <summary>
        /// 年检考试得分
        /// </summary>
        public decimal Score
        {
            set { _score = value; }
            get { return _score; }
        }
        /// <summary>
        /// 证书有效开始时间
        /// </summary>
        public DateTime StartTime
        {
            set { _starttime = value; }
            get { return _starttime; }
        }
        /// <summary>
        /// 有效期年限
        /// </summary>
        public int UsefulLife
        {
            set { _usefullife = value; }
            get { return _usefullife; }
        }
        /// <summary>
        /// 状态
        /// </summary>
        public int State
        {
            set { _state = value; }
            get { return _state; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 创建人
        /// </summary>
        public int UserNo
        {
            set { _userno = value; }
            get { return _userno; }
        }
        /// <summary>
        /// 机构
        /// </summary>
        public int OrgzNo
        {
            set { _orgzno = value; }
            get { return _orgzno; }
        }
        #endregion Model

    }
}
